package com.weasel.security;

import com.weasel.security.annotation.SensitiveWordEscape;
import com.weasel.security.annotation.XssEscape;

/**
 * Created by Dylan on 2015/12/18.
 */
public class Message {


    @XssEscape
    @SensitiveWordEscape
    private String content;

    @XssEscape
    @SensitiveWordEscape
    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "title : " + getTitle() + ";content : " + getContent();
    }
}
